﻿@model IEnumerable<Freshome.b.Pairaw>
@{
    Layout = null;
    ViewBag.Right = Model.Where(r => r.Taboo == false).Count();
    ViewBag.Wrong = Model.Where(r => r.Taboo == true).Count();
}
@if (Model.Count() > 0)
{
    <div class="boxed">
        <h3>
            <strong>@ViewBag.Majoraw</strong>搭配</h3>
        <div>
            <ul class="right">
                @foreach (var pr in Model.Where(r => r.Taboo == false))
                {
                    <li><strong>@pr.Mate：</strong>@pr.Notes</li>
                }
            </ul>
            <ul class="wrong">
                @foreach (var pr in Model.Where(r => r.Taboo == true))
                {
                    <li><strong>@pr.Mate：</strong>@pr.Notes</li>    
                }
            </ul>
        </div>
    </div>
}
